$OpenBSD: patch-configure,v 1.4 2015/10/06 11:37:06 jca Exp $
--- configure.orig	Mon Dec 14 15:37:22 2009
+++ configure	Tue Sep 29 01:08:02 2015
@@ -383,7 +383,7 @@ do
         passnext=both ;;
 
       --elispdir=* | --elispdi=* | --elispd=* | --elisp=* | --elis=* | --eli=* | --el=*)
-        subdir_configure_args="$subdir_configure_args $arg"
+        subdir_configure_args="$subdir_configure_args"
         makemake_args="$makemake_args --elispdir="`getarg "$arg"` ;;
 
       --elispdir | --elispdi | --elispd | --elisp | --elis | --eli | --el)
@@ -393,7 +393,7 @@ do
         passnext=both ;;
 
       --vimdir=* | --vimdi=* | --vimd=* | --vim=* | --vi=*)
-        subdir_configure_args="$subdir_configure_args $arg"
+        subdir_configure_args="$subdir_configure_args"
         makemake_args="$makemake_args --vimdir="`getarg "$arg"` ;;
 
       --vimdir | --vimdi | --vimd | --vim | --vi)
@@ -723,8 +723,7 @@ stacksizelimit=`ulimit -s 2>/dev/null || :` # cygwin /
 # need 3 separate test calls because of "integer expression expected" errors
 # when $stacksizelimit is "" or "unlimited" (no short-circuiting!)
 set +e;
-test -z "$stacksizelimit" || { test "$stacksizelimit" != unlimited && test "$stacksizelimit" -lt ${STACK_LIMIT}; }
-STACK_TOO_SMALL=$?      # 0=true => need to reset; 1=false => big enough
+STACK_TOO_SMALL=0      # 0=true => need to reset; 1=false => big enough
 set -e
 
 cd "$ABS_DIRNAME"
